<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
Route::group('api',function(){
	// +----------------------------------------------------------------------
    // | 抽奖活动
    // +----------------------------------------------------------------------
    Route::group('Activity',function(){
        Route::post('Activity_Info','api/Activity/Activity_Info');//活动详情
        Route::post('Record','api/Activity/Record');//中奖列表
        Route::post('Prizes','api/Activity/Prizes');//出奖品
        Route::post('Address','api/Activity/Address');//填写中奖人信息
    });

	// +----------------------------------------------------------------------
    // | 登录接口
    // +----------------------------------------------------------------------
    Route::group('Login',function(){
        Route::post('login','api/Login/login');		//登录
        Route::post('msn','api/Login/msn');			//验证码
    });    
});
